import Vue from 'vue'
import App from './App.vue'
// 路由
import router from './router'

// 状态管理veux
import store from './store'

// 全局样式
import '@/assets/style/reset.css'
import '@/assets/style/public.css'

// 全局组件
import Component from '@/components/index.js'
import '@/element'

// 导入请求函数
import request from '@/utils/request'
import getImg from '@/utils'

Vue.prototype.$req = request
Vue.prototype.$get = getImg
Vue.config.productionTip = false
Vue.use(Component)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
